package es.ats.codington.festival.interfaces.daos;

import java.sql.Connection;

import es.ats.codington.festival.domain.Visitor;

public interface IVisitorDAOImp {

	 public int loginDAO(Visitor visitor);
	 public int insertVisitor(Visitor visitor);
//	 public int deleteVisitor(String visitor);
	 public int updateVisitor(Visitor uVisitor, String userName);
	 public int updatePassword(String newPassword, String oldPassword, String userName);
	 public int getVisitorId(String userName, Connection con);
	 public int isAdmin (String userName, Connection con);
	 public Visitor getVisitor(String userName, Connection con);
}
